package com.tt.service.impl;

import com.tt.dao.UserMapper;
import com.tt.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.tt.service.UserService;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User getUserByName(String username) {

        return userMapper.getUserByName(username);
    }
}
